package com.cskaoyan.service;


import com.cskaoyan.bean.common.CommonData;
import com.cskaoyan.bean.vo.BaseRespVo;
import com.cskaoyan.bean.vo.CollectionGoodsVo;
import com.cskaoyan.domain.MarketGoods;
import com.cskaoyan.domain.MarketGoodsProduct;

import java.util.List;
import java.util.Map;

public interface GoodsService {
    Integer getAllGoodsCount();
    Map<String, Object> getGoodsDetails(Integer id);
    BaseRespVo selectRelatedById(Integer id);
    List<MarketGoods> getGoodsByCategoryId(int cid);
    List<MarketGoods> getGoodsLike(String keyword,String sort,String order);
    List <MarketGoodsProduct>getProductById(Integer id);
    List<CollectionGoodsVo> selectGoodCollectionListById(int userId);
    List<MarketGoods> getGoodsByBrandId(Integer brandId);
}